fun main(args : Array<String>){
	
		var num:Int = 7//111    1110
	var res = num.shl(1)
	var rres = num.shr(1)//11
	
	var ires = num.inv()
	
    println("res=${res}")
	println("rres=${rres}")	
	println("ires=${ires}")


}
fun xx(){

	val a3 = "China"
	val a1 = 123L
	val a2 = 0x123//16进制
	val a0 = 0b1101010//2进制
	//8进制不支持
	val a4 = 123.2//double
	val a5 = 123.2f//float
	
	if(2>3){
	}else{
	}
	
	val b:Byte = 1
	val i:Int = b.toInt()//ok
	val j:Int = b //不可以
	
	//toByte() toShort() toLong() toString() toDouble()
	
	val l = 1L + 3 // Long + Int => Long
	
}
/*
Double
Float
Long
Int
Short
Byte
*/